package com.hnust.dao.test;

import com.hnust.MainApp;
import com.hnust.domain.AlternativeAnswer;
import com.hnust.dao.AlternativeAnswerDao;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import java.util.List;
@RunWith(SpringRunner.class)
@SpringBootTest(classes = MainApp.class)
public class testAlternativeAnswerDao {
    @Autowired
   public AlternativeAnswerDao alternativeAnswerDao;

    @Test
    public void testGetAlternativeAnswer(){
        List<AlternativeAnswer> a =alternativeAnswerDao.getQuestionAnswerList("1");

    }

}
